//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2019.03.12 时间 12:12:00 PM CST 
//


package com.youhome.service.listhub;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ListingStatusEnum的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * <p>
 * <pre>
 * &lt;simpleType name="ListingStatusEnum">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     &lt;enumeration value="Active"/>
 *     &lt;enumeration value="Cancelled"/>
 *     &lt;enumeration value="Closed"/>
 *     &lt;enumeration value="Expired"/>
 *     &lt;enumeration value="Pending"/>
 *     &lt;enumeration value="Withdrawn"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "ListingStatusEnum")
@XmlEnum
public enum ListingStatusEnum {


    /**
     * 
     * 						The listing is available for marketing.
     * 					
     * 
     */
    @XmlEnumValue("Active")
    ACTIVE("Active"),

    /**
     * 
     * 						The listing contract has terminated prior 
     * 						to contract expiration. This is synonymous
     * 						to the status of Terminated.
     * 					
     * 
     */
    @XmlEnumValue("Cancelled")
    CANCELLED("Cancelled"),

    /**
     * 
     * 						The listing transaction is completed.
     * 						Some systems may have historical
     * 						information described as Sold.
     * 						This is a synonym.
     * 					
     * 
     */
    @XmlEnumValue("Closed")
    CLOSED("Closed"),

    /**
     * 
     * 						The term of the listing contract
     * 						expired without closing.
     * 					
     * 
     */
    @XmlEnumValue("Expired")
    EXPIRED("Expired"),

    /**
     * 
     * 						A contract for purchase or lease
     * 						has been entered into.
     * 						This is considered synonymous with
     * 						the status UnderContract, that more
     * 						precisely describes the status, however,
     * 						usage in the industry has been around the
     * 						word 'Pending' so the group decided to
     * 						keep the word in common usage rather than
     * 						the more correct word.
     * 					
     * 
     */
    @XmlEnumValue("Pending")
    PENDING("Pending"),

    /**
     * 
     * 						The listing is temporarily
     * 						or permanently off market.
     * 						The listing contract is still
     * 						in force.
     * 						Historical statuses like Inactive, TempOff
     * 						and Off-Market are considered synonyms
     * 						of Withdrawn.
     * 					
     * 
     */
    @XmlEnumValue("Withdrawn")
    WITHDRAWN("Withdrawn");
    private final String value;

    ListingStatusEnum(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static ListingStatusEnum fromValue(String v) {
        for (ListingStatusEnum c: ListingStatusEnum.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
